<ion-view view-title="产品二维码">
    <div class="proqrcode_wrap">
        <div class="proqrcode_main">
            <div class="proqrcode_head_wrap">
                <!--店招底图-->
                <div class="proqrcode_head_img">
                    <img src="img/commimg/proqrcode_beijing.png" ng-src="{{$root.baseUrl}}{{shareUserInfo.shopBackground}}" alt="" class="proqrcode_head_imgs">
                    <!--水印logo-->
                    <img src="img/commimg/proqrcode_logo.png" alt="" class="proqrcode_logo">
                </div>
                <!--头部标题与状态-->
                <div class="proqrcode_head">
                    <div class="proqrcode_head_tit clear weui">
                        <h3  ng-if="shareProType=='simu'">{{item.detail.jjmc}}</h3>
                        <h3  ng-if="shareProType=='pevc'">{{item.productShortName}}</h3>
                        <h3  ng-if="shareProType=='self'">{{item.productName}}</h3>
                        <h3  ng-if="shareProType=='xtzg'">{{item.productShortName}}</h3>
                        <!--<img src="img/status_mujizhong.png" alt="" class="fr">-->
                        <span class="fr" ng-if="shareProType=='simu'">阳光私募</span>
                        <span class="fr" ng-if="shareProType=='pevc'||shareProType=='self' || shareProType=='xtzg'">
                            <img ng-if="item.saleStatus == 02" src="img/status_yuren.png">
                            <img ng-if="item.saleStatus == 03" src="img/status_mujizhong.png">
                            <img ng-if="item.saleStatus == 04" src="img/status_muman.png">
                            <img ng-if="item.saleStatus == 05" src="img/status_jieshu.png">
                        </span>

                    </div>

                    <!--自有产品-->
                    <div class="proqrcode_head_con" ng-if="shareProType=='self'">
                        <div class="row" ng-repeat="d in item.revenue" ng-if="$index<3">
                            <div class="col col-33">
                                <div class="">
                                    {{d.minAmount}}<span>万</span>
                                </div>
                                <p>
                                    起投金额
                                </p>
                            </div>
                            <div class="col col-33">
                                <div style="color: #FD5739;" ng-bind-html="d.revenue|pevcQrRevenue">
                                </div>
                                <p>
                                    预期收益
                                </p>
                            </div>
                            <div class="col col-33">
                                <div class="" ng-bind-html="item.dueTime|proSelfDuetime"></div>
                                <p>
                                    项目期限
                                </p>
                            </div>
                        </div>
                    </div>
                    <!--股权基金-->
                    <div class="proqrcode_head_con" ng-if="shareProType=='pevc'">
                        <div class="row">
                            <div class="col col-33">
                                <div class="" ng-bind-html="item.minimumAmount|proNumber">
                                    <!--{{item.minimumAmount|proNumber}}-->
                                </div>
                                <p>
                                    起购金额
                                </p>
                            </div>
                            <div class="col col-33">
                                <div style="color: #FD5739;" ng-bind-html="item.profitHight.expectAnnualRevenue | pevcQrRevenue">
                                    <!--{{item.profitHight.expectAnnualRevenue?item.profitHight.expectAnnualRevenue:'-'|pevcQrRevenue}}-->
                                </div>
                                <p>
                                    基准收益
                                </p>
                            </div>
                            <div class="col col-33">
                                <div class="">
                                    {{item.dueTime}}<span>月</span>
                                </div>
                                <p>
                                    产品期限
                                </p>
                            </div>
                        </div>
                    </div>
                    <!--私募-->
                    <div class="proqrcode_head_con proqrcode_head_simucon" ng-if="shareProType=='simu'">
                        <div class="proqrcode_head_simuhead">
                            <div>
                                {{item.detail.lsjzJson[0].jzdw || '--'}}
                            </div>
                            <p>
                                最新净值
                            </p>
                        </div>
                        <ul class="row">
                            <li class="col col-33 col-no-padding">
                                <div>
                                    {{item.detail.lsjzJson[0].ljjz || '--'}}
                                </div>
                                <p>
                                    累计净值
                                </p>
                            </li>
                            <li class="col col-33 col-no-padding">
                                <div style="color: #FD5739;">
                                    {{item.detail.lsjzJson[0].zdf || '--'}}
                                </div>
                                <p>
                                    涨跌幅
                                </p>
                            </li>
                            <li class="col col-33 col-no-padding">
                                <div>
                                    {{item.detail.jjjlmc}}
                                </div>
                                <p>
                                    基金经理
                                </p>
                            </li>
                        </ul>
                    </div>
                    <!--其他-->
                    <div class="proqrcode_head_con" ng-if="shareProType=='xtzg'">
                        <div class="row" ng-repeat="d in item.profitAndRebateList" ng-if="$index<3">
                            <div class="col col-33">
                                <div class="" ng-bind-html="item.expectSaleAmount == d.endAmount ? (d.startAmount/10000)+'<span>万</span>' : (d.startAmount/10000) + '<span>万</span>' ">
                                    <!--{{item.expectSaleAmount == d.endAmount ? (d.startAmount/10000)+'<span>万</span>' : (d.startAmount/10000) + '<span>万</span>' }}-->
                                </div>
                                <p>
                                    起投金额
                                </p>
                            </div>
                            <div class="col col-33">
                                <div style="color: #FD5739;" ng-bind-html="d.expectAnnualRevenue|pevcQrRevenue">

                                </div>
                                <p>
                                    预期收益
                                </p>
                            </div>
                            <div class="col col-33">
                                <div class="">
                                    {{item.dueTime}}<span>月</span>
                                </div>
                                <p>
                                    项目期限
                                </p>
                            </div>
                        </div>
                        
                    </div>
                    <!--间隔圆角图片-->
                    <div class="proqrcode_head_line">
                        <img src="img/commimg/proqrcode_head_line.png" alt="">
                    </div>
                    <!--理财师信息-->
                    <div class="proqrcode_head_info clear">
                        <div class="fl">
                            <div>理财师{{shareUserInfo.userName || shareUserDto.uRealName}}推荐</div>
                            <p>TEL {{shareUserInfo.userPhone || shareUserDto.mobile}}</p>
                        </div>
                        <div class="fr">
                            <img src="img/commimg/touxiang.jpg" ng-src="{{shareUserInfo.userHeadImg|getUserHeadImg}}?x-oss-process=image/resize,w_750" alt="" >
                        </div>
                    </div>
                </div>

                <div class="proqrcode_con">
                    <h3 ng-if="shareProType=='simu'">{{item.detail.jjqc}} </h3>
                    <h3 ng-if="shareProType=='pevc'">{{item.productName}} </h3>
                    <h3 ng-if="shareProType=='self'">{{item.productName}} </h3>
                    <h3 ng-if="shareProType=='xtzg'">{{item.productName}} </h3>

                    <div class="proqrcode_con_tag weui-flex" ng-if="shareProType=='simu'">
                        <p class="weui-flex__item">
                            <span></span>{{item.detail.jjfl}}
                        </p>
                        <p class="weui-flex__item">
                            <span></span>{{item.detail.jjfxr}}
                        </p>
                    </div>
                    <div class="proqrcode_con_tag weui-flex" ng-if="shareProType=='pevc'">
                        <p class="weui-flex__item">
                            <span></span>{{item.peFundShape}}
                        </p>
                        <p class="weui-flex__item">
                            <span></span>{{item.investOwner?item.investOwner:'-'}}
                        </p>
                    </div>
                    <div class="proqrcode_con_tag weui-flex" ng-if="shareProType=='xtzg'">
                        <p class="weui-flex__item">
                            <span></span>{{item.investDesc}}
                        </p>
                        <p class="weui-flex__item">
                            <span></span>{{item.investOwner?item.investOwner:'-'}}
                        </p>
                    </div>
                    <div class="proqrcode_con_link weui-flex">
                        <div class="weui-flex__item" ng-bind-html="item.detail.productadvantage | contentwrap" ng-if="shareProType=='simu'&& item.detail.productadvantage&&!tuijian"></div>
                        <div class="weui-flex__item" ng-bind-html=" tuijian | contentwrap" ng-if="shareProType=='simu'&&tuijian"></div>
                        <div class="weui-flex__item" ng-bind-html="item.tuijianReson | contentwrap" ng-if="shareProType=='self' && item.tuijianReson"></div>
                        <div class="weui-flex__item" ng-bind-html="summary.cpys | contentwrap" ng-if="shareProType=='xtzg' && summary.cpys&&!tuijianReson"></div>
                        <div  class="weui-flex__item" ng-bind-html="tuijianReson | contentwrap" ng-if="shareProType=='xtzg'&&tuijianReson"></div>
                        <div  class="weui-flex__item" ng-bind-html="item.fpsDto.tuijianReson | contentwrap" ng-if="shareProType=='pevc'&&item.fpsDto.tuijianReson"></div>
                        <div class="proqrcode_con_code">
                            <div>
                                <img ng-src="{{proerweimaurl}}" alt="">
                            </div>

                            <p>
                                识别二维码查看详情
                            </p>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!--按钮-->
        <div class="proqrcode_btn" ng-if="showproqrcodebtn">
            <button ng-click="$ionicGoBack()">取消</button>
            <button ng-click="done()">分享</button>
        </div>
    </div>
</ion-view>